package com.liarjo.mywebsiteapi.controller.login;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginResult {
    private String token;
    private String userName;
    private String role;
    public LoginResult(String token) {
        this.token = token;
    }
}